package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.user;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface imapper
{
    @Insert("INSERT INTO USER(USERNAME,PASSWORD,NICKNAME,CREATED) "+
    "VALUES(#{username},#{password},#{nickname},#{created})")
    int insertUser(user user);
}
